<%@ page language="java" contentType="text/html;charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ page import="com.hmsm.sys.po.UserInfo" %>
<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String userName=""; 
	String userDept="";
	UserInfo user = (UserInfo)session.getAttribute("user");
	if(user!=null){
				userName = user.getUserName();
				userDept=(String)session.getAttribute("yytName");
		}else{
				response.sendRedirect(basePath+"/page/error.jsp");
		}
	Date date = new Date();
	String dateStr = "";  
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");  
	dateStr = sdf.format(date);  
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>系统消息详情</title>
	<link type="text/css" rel="stylesheet" href="<%=basePath%><s:property value="#session.themeStyle.mainCss" default="Skin/PM/LightBlue/main.css"/>" />
	<script src="<%=basePath%>js/jquery.js" type="text/javascript"></script>
	<script src="<%=basePath%>js/store.js" type="text/javascript"></script>
	<script type="text/javascript" src="<%=basePath%>js/My97DatePicker/WdatePicker.js"></script>
	<style type="text/css">

	</style>
	<script type="text/javascript">
		$(document).ready(function() {
				var height = window.parent.document.getElementById("mainFrame").height-125;
			});
	</script>
</head>
<body>
	<div style="margin-left: 8px;margin-right: 8px;border-bottom: 2px #3497cf solid;height: 24px;margin-top: 0px;line-height: 24px;">
			当前位置：个人信息&gt;&gt;<a href="###" onclick="history.back();" style="color: orange;">公告信息</a>&gt;&gt;信息详情
	</div>
	<s:form theme="simple">
	<center>
			<div id="divTable" class="editBlock" style="width: 650px;text-align: center;margin-top: 20px;50px;margin-bottom:20px;border: red 0px solid;">
			<p style="font-size: 28px;margin-top:20px;font-weight: bold;border: red 0px solid;word-wrap: break-word;" align="center">${sysMessagePublish.title}&nbsp;</p>
			<p style="font-size: 24px;text-indent:2em;line-height:30px;margin-top:30px;border: red 0px solid;word-wrap: break-word;"  align="left">${sysMessagePublish.content}&nbsp;</p>
			<p style="font-size: 20px;margin-top:50px;Letter-spacing: 5px;border: red 0px solid;padding-right: 40px;" align="right">${sysMessagePublish.creater}&nbsp;</p>
			<p style="font-size: 20px;margin-top:10px;margin-bottom:20px;border: red 0px solid;" align="right"><s:date name="sysMessagePublish.messPublishDate" format="yyyy年MM月dd日"/>&nbsp;</p>
			</div>
	</center>	
			<div class="toolbar" align="center" style="text-align: center;">
				<a class="but39" onclick="history.back();" style="text-decoration:none;">返回</a>
			</div>

	</s:form>
</body>
</html>